WPForms\Integrations\Square\Api\WebhookRoute S

Total Complexity 40
Dependencies 11
Dependents 2
Total lines 349
Lines of code 144
Logical lines of code 67
Comment lines 133
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
hooks()
A
53 9 24
log_webhook()
S
54 7 22
dispatch_square_webhooks_payload()
S
50 6 27
register_rest_routes()
S
58 2 16
process_event()
S
64 3 9
dispatch_with_url_param()
S
71 2 6
get_webhook_signature()
S
70 2 6
get_webhook_signing_secret()
S
68 2 7
is_rest_verification()
S
78 2 3
init()
S
82 1 3
dispatch_with_error_500()
S
73 1 5
get_event_whitelist()
S
65 1 9
respond()
S
75 1 4
get_webhooks_events_list()
S
80 1 3